package com.group02.community.entity.owner;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "zy_owner")
public class ZyOwner {

  @ExcelIgnore
  @TableId
  private String ownerId;
  @ExcelProperty("昵称")
  private String ownerNickname;
  @ExcelProperty("真实姓名")
  private String ownerRealName;
  @ExcelIgnore
  private String ownerGender;
  @ExcelIgnore
  private Long ownerAge;
  @ExcelProperty("身份证号码")
  private String ownerIdCard;
  @ExcelProperty("手机号码")
  private String ownerPhoneNumber;
  @ExcelIgnore
  private String ownerOpenId;
  @ExcelIgnore
  private String ownerWechatId;
  @ExcelIgnore
  private String ownerQqNumber;

  @ExcelProperty(value = "出生日期")
  private LocalDateTime ownerBirthday;
  @ExcelIgnore
  private String ownerPortrait;
  @ExcelIgnore
  private String ownerSignature;
  @ExcelIgnore
  private String ownerStatus;
  @ExcelIgnore
  private String ownerLogonMode;
  @ExcelIgnore
  private String ownerType;
  @ExcelIgnore
  private String ownerPassword;
  @ExcelIgnore
  private String createBy;
  @ExcelIgnore
  private LocalDateTime createTime;
  @ExcelIgnore
  private String updateBy;
  @ExcelIgnore
  private LocalDateTime updateTime;
  @ExcelIgnore
  private String remark;

  @ExcelProperty("小区名称")
  private String communityName;
  //楼栋名称
  @ExcelProperty("楼栋名称")
  private String buildingName;
  //单元名称
  @ExcelProperty("单元名称")
  private String unitName;
  //房间名称
  @ExcelProperty("房间名称")
  private String roomName;
  //房间id（唯一）
  @ExcelIgnore
  private String roomId;

}
